-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.0 release candidate #5267
Merged
1.0 release candidate #5267
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Remove deprecated `FargateAgent` * Remove deprecated `prefect.environments` module * Remove deprecated `Flow.environment` setting * Remove deprecated `Flow.environment` serializers * Add backwards compatibility for `Flow.environment` to flow diagnostics * Update flow tests to reflect removal * Update `get_flow_image` to use `run_config` instead of `environment` * Oh, there are two `get_flow_image` functions -- deprecate the old looking one Also, remove environment handling from the newer one * Remove environments from `get_flow_run_command` tests * Remove environment docker healthcheck tests * Remove environment serialization tests * Remove environment handling from `Client.register` * Remove environment handling from `prefect build/register` * Update `_get_run_config` to drop support for environments * Remove `KubernetesAgent.generate_job_spec_from_environment` * Remove `LocalEnvironment` from `DockerAgent` tests * Remove `DockerAgent.network` tests * Remove remaining `DockerAgent` environment tests Missed a couple in c65b01c * Drop some removed items from the API reference Certainly there will be more but it is fickle locally * Remove environments from serialization init * Fixup tests * Reformat * Ignore attr missing typecheck because we check for the attr * Remove environments from manifest * Remove environment deprecated warning ignore from pytest * Remove environments from docs/config.js * Remove fargate agent docs page * Remove custom environment docs page * Remove environment docs * Update environment upgrade doc to note removal * Remove environment support from flow run execution hooks * Remove fargate agent docs section * Remove environment dependency check from healthcheck * Remove unused import
* Remove deprecated executors import * Remove deprecated config keys check * Remove deprecated DockerAgent.docker_interface * Remove token from local agent * Remove token from agent cli * Remove docker_interface from docker agent cli * Remove token based login/list/create/revoke from CLI Retains token logout * Remove deprecated register command * Remove deprecated run command * Remove deprecated `Parameter` import path * Remove deprecated exceptions module * Remove `CloudHandler` support for deprecated `log_to_cloud` setting * Remove local agent tests for token based auth * Remove import of deprecated exceptions module * Remove backwards compat imports from new exceptions module * Update logging test to assert `log_to_cloud` is ignored * Remove api token check from switch-tenants * Remove deprecation tests for exceptions * Remove tests for `prefect run flow` * Remove tests for deprecated executors * Remove test for deprecated parameter import path * Remove tests for deprecated register cli * Remove token handling from login cli * Remove outdated tests auth cli * Fixup agent cli and tests * Fixup unused imports caught by flake8 * Remove token cli commands from docs * Remove docs for prefect run flow * Revert vscode autoformatting of toml * Fixup doc references to removed items
* Remove experimental labels from outline * Remove experimental label for py3.9 * Remove experimental labels from backend views
* Remove python 3.6 specific requirements * Update minimum version in README * Update versions in metadata * Increase lower prefect version image to 3.7 * Remove 3.6 tests from CI * Update 3.6 references in docs to 3.7 * Update 3.6 references in code to 3.7 * Drop test_36 from circle * Run black * Fix version in mock * And similar mocks
* Tear auth token support out of the `Client` * Remove usage of `as_user` * Additional token cleanup * Update tenant setter to enforce UUIDs and remove auth tokens from tests * Remove backwards compatibility client tests * Remove token handling from logout; add a token purging command * Check for environment variables in token purge * Add token checks to `prefect auth status` * Fixup tenant switching and listing * Update auth CLI tests * Remove unecessary data * Hardcode uuid for parallel test run consensus * Remove auth tokens from agent tests and pass api keys as auth tokens for containerized backwards compatibility GOODNESS * Update execution tests * Happy mypy * Mock the docker engine * lint * Update logout command in docs * Remove additional auth token references from tests * Restore the `tenant_id` to `switch_tenant` * Add tenant id null check * Fixup bad test
1.0 will require a special changelog entry anyway; also adds some missing items
* Remove unlinked files. Content is under Getting Started already. * Revise page with links to correct current docs pages.
* Returning legacy docs. * Add legacy environments to nav. * Update support warning, remove domain from prefect links. * Minor edits to transitioning from tokens to keys. * Update gitlab example to reflect new registration CLI per #4256 * Minor edits. * Revisions based on review feedback.
Release Candidate 1.0.0
* Fix broken links. * Corrected URL.
* wip: manually add some * add rest using addexports * blackify * indicate get_versions is private * add changes
* switched to futures based LocalDaskExecutor * empty commit * switched to futures based LocalDaskExecutor * Bumped dask to the oldest new version scheme * Update to a recent dask version * oldest version that still has dask.compatibility.apply defined * fixed shutdown behaviour when not exiting early * Cancel unstarted futures * Undo cancel_futures flag
tpdorsey
previously approved these changes
Jan 25, 2022
abrookins
approved these changes
Jan 25, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The first release candidate for 1.0.0
Highlights
Environment
s have been removed; useRunConfig
s instead. - #5072, docsBreaking Changes
DockerAgent(docker_interface=...)
will now raise an exception if passed. - #4446prefect.cloud.agent.auth_token
config key. - #5140prefect.engine.executors
; useprefect.executors
instead. - #3798Parameter
is not importable fromprefect.core.tasks
anymore; useprefect.Parameter
instead.prefect.utilities.exceptions
; useprefect.exceptions
instead. - #4664Client.login_to_tenant
has been renamed toClient.switch_tenant
prefect register flow
command has been removed; useprefect register
instead. - #4256prefect run flow
command has been removed; useprefect run
instead. - #4463create-token
,revoke-token
,list-tokens
have been removed; use API keys instead. - #4643prefect auth login
no longer accepts authentication tokens. - #5140prefect auth purge-tokens
has been added to delete the Prefect-managed tokens directory. - #5140log_to_cloud
setting is now ignored; usesend_flow_run_logs
instead. - #4487]